package com.stone.design.practice.java;

/**
 * @author Stone
 * @version V1.0
 * @description:
 * @date 8/10/18 17:07
 * @email redsstone@163.com
 */
public class ClassTest {

    public static void main(String[] args) {
        try {
            /*Class<?> student = Class.forName("com.stone.design.practice.java.Student");
            int a = 0;
            a += 1;*/

            String s;
            Class<?> student = Student.class;
            Student student1 = (Student) student.newInstance();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
